package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * ClassName: BrandService
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/19 21:22
 * Version 1.0
 */
public interface BrandService {
    //列表
    PageInfo<Brand> findByPage(Integer page, Integer limit);

    //添加
    void save(Brand brand);

    //更行
    void update(Brand brand);

    //根据id删除
    void deleteById(Integer id);

    //查询所有品牌
    List<Brand> findAll();

}
